package com.ruoyi.system.domain.bill;

import lombok.Data;
import lombok.Getter;

@Data
public class JobPersonnel {
    /**
     * 人员id
     */
    private Integer personnelId;
    /**
     * 人员名称
     */
    private String personnelName;
    /**
     * 人员类型
     */
    private String personnelType;

    @Getter
    public static enum JobPersonnelTypeEnum {
        FORMAL(1, "人员档案"),
        TEMPORARY(2, "临时施工人员");

        private Integer code;
        private String desc;

        JobPersonnelTypeEnum(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }
    }
}
